package com.party.core.service.mall;

import com.party.core.model.mall.MallGoodsCategory;
import com.party.core.service.IBaseService;

import java.util.List;

/**
 * 商品分类关系表
 * Created by yifeng
 *
 * @date 2018/3/28 0028
 * @time 下午 15:54
 */
public interface IMallGoodsCategoryService extends IBaseService<MallGoodsCategory> {
    MallGoodsCategory getUnique(MallGoodsCategory category);

    void deleteByUnique(MallGoodsCategory category);

    List<MallGoodsCategory> findByGoodsId(String goodsId);

    List<MallGoodsCategory> findByCategoryId(String categoryId);
}
